package day05;
import java.util.Scanner;
public class MultiTable {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入乘法表中的最大数字：");
        int num = scan.nextInt();
        for (int i = 1; i <= num; ++i) {
            for (int j = 1; j <= i; ++j) System.out.print(j + "*" + i + "=" + i * j + "\t");
            System.out.println();
        }
    }
}
